func runtime.key32
19 uses
runtime (current package)
lock_futex.go#L43: func key32(p *uintptr) *uint32 {
lock_futex.go#L48: return atomic.Load(key32(&l.key)) > mutex_locked
lock_futex.go#L64: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L90: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L101: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L110: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L116: futexsleep(key32(&l.key), mutex_sleeping, -1)
lock_futex.go#L125: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L130: futexwakeup(key32(&l.key), 1)
lock_futex.go#L150: old := atomic.Xchg(key32(&n.key), 1)
lock_futex.go#L155: futexwakeup(key32(&n.key), 1)
lock_futex.go#L168: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L170: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L191: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L193: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L202: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L212: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L217: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L226: return atomic.Load(key32(&n.key)) != 0
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |